﻿using System.Collections.Generic;
namespace Model
{
	public class CauseExpression
	{
		private CellDefinition cellDefinition;
		public CellDefinition CellDefinition
		{
			get { return cellDefinition; }
			set { cellDefinition = value; }
		}

		private double chooseValue;
		public double ChooseValue
		{
			get { return chooseValue; }
			set { chooseValue = value; }
		}

		private Dictionary<string, AttributExpression> attributeExpressions = new Dictionary<string, AttributExpression>();
		public Dictionary<string, AttributExpression> AttributeExpressions
		{
			get { return attributeExpressions; }
			set { attributeExpressions = value; }
		}

		public CauseExpression(CellDefinition cellDefinition, double chooseValue, Dictionary<string, AttributExpression> attributeExpressions)
		{
			this.cellDefinition = cellDefinition;
			this.chooseValue = chooseValue;
			this.attributeExpressions = attributeExpressions;
		}
	}
}
